|
PHY SET CLOTH DIMENSIONS
Set the dimensions of the cloth object.
PHY SET CLOTH DIMENSIONS ID, width#, height#, depth#
ID
Integer
identification number of the cloth object
width
Float
width of the cloth
height
Float
height of the cloth
depth
Float
depth of the cloth
The dimensions of the cloth object are used to control how the cloth is constructed. The number of vertices that comprise the mesh is defined as ( ( width / depth ) + 1 ) * ( height / depth ) + 1 ). Beware that there is a limit to the number of vertices therefore, having too high a level of vertices will result in being unable to create the mesh. It may also be wise to consider how many vertices are needed as too many will also impact the frame rate.
No example code is provided for this command
|